From 1a2d69b0845acb9931421ebf77d3e73bd4067402 Mon Sep 17 00:00:00 2001 From: Ewan Mellor Date: Tue, 13 Mar 2007 22:12:18 +0000 Subject: [PATCH] In xm shell, add a space to the function names when tab-completing. Signed-off-by: Ewan Mellor --- tools/python/xen/xm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 6c32e8529e..ad967d275e 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -557,7 +557,7 @@ class Shell(cmd.Cmd): if serverType == SERVER_XEN_API: res = server.xenapi._UNSUPPORTED_list_all_methods() for f in res: - setattr(Shell, 'do_' + f, self.default) + setattr(Shell, 'do_' + f + ' ', self.default) def preloop(self): cmd.Cmd.preloop(self) -- 2.30.2